<template>
  <div class="page2">
    <h1 class="title">\ 现任领导</h1>
    <div class="wrap">
      <div class="item" v-for="(item, index) in leatList" :key="index">
        <div class="img-wrap">
          <img src alt />
        </div>
        <div class="text">
          <span class="name">{{ item.name }}</span>
          <span class="label">{{ item.title }}</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "page2",
  data() {
    return {
      leatList: [
        { name: "王勇", title: "院长(挂职)", img: "" },
        { name: "邓维", title: "党总支书记、副院长", img: "" },
        { name: "刘莉湘君", title: "党总支副书记", img: "" },
        { name: "柯捷", title: "副院长", img: "" }
      ]
    };
  }
};
</script>

<style scoped lang="less">
.wrap {
  display: flex;
  margin: 0 120px 0 50px;
  width: 730px;
  flex-wrap: wrap;
  justify-content: space-between;
  .item {
    width: 320px;
    height: 310px;
    margin-bottom: 100px;
    border-right: 2px solid rgb(128, 125, 125);
    .img-wrap {
      width: 250px;
      height: 100%;
      float: left;
      background-color: aquamarine;
    }
    .text {
      writing-mode: vertical-lr;
      width: 70px;
      height: 100%;
      float: right;
      line-height: 70px;
      .name {
        font-size: 30px;
        padding-bottom: 20px;
      }
      .label {
        color: #4d89d8;
        font-weight: 400;
        font-weight: 700;
      }
    }
  }
}
</style>